﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListInfo.aspx.cs" Inherits="CardLogistics.Web.MainPage.SystemMgr.SysBillRule.ListInfo" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<%@ Register Src="../../../Controls/WebUserControl_ToolBar.ascx" TagName="WebUserControl_ToolBar"
    TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>单据规则</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script src="../../../js/valReq.js" type="text/javascript"></script>
    <script src="../../../js/tblistjs.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function isF() { 

        }
    </script>
</head>
<body>
    <form runat="server" id="f2">
    <uc1:WebUserControl_Nav ID="WebUserControl_Nav1" runat="server" />
    <div class="rightinfo">
        <asp:Repeater ID="rptList" runat="Server" OnItemDataBound="rptList_OnItemDataBound"
            OnItemCommand="rptList_ItemCommand">
            <HeaderTemplate>
                <table class="tablelist" id="tblist">
                    <thead>
                        <tr>
                            <th>
                                序号
                            </th>
                            <th width="170px" style="text-align: center">
                                单据名称
                            </th>
                            <th colspan="4">
                                编号规则设置
                            </th>
                            <th style="display: none;">
                                排序
                            </th>
                            <th width="60px">
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td align="center" width="50px">
                        <%# Container.ItemIndex + 1 + (WebPageIndex * WebPageSize - WebPageSize)%>
                    </td>
                    <td>
                        <asp:Label ID="lb_BILLNAME" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"BILLNAME")%>'></asp:Label>
                    </td>
                    <td style="width:20%">
                        <asp:DropDownList ID="ddl_NUMONE" runat="server" AutoPostBack="true" CssClass="dfinput" Width="45%"  OnTextChanged="setTextBoxVisiable">
                        </asp:DropDownList>
                        <asp:TextBox runat="server" ID="txt_NUMONE" Text='<%#DataBinder.Eval(Container.DataItem,"NUMONE")%>' CssClass="dfinput"
                            Width="45%">
                        </asp:TextBox>
                    </td>
                    <td style="width:20%">
                        <asp:DropDownList ID="ddl_NUMTWO" runat="server" AutoPostBack="true" CssClass="dfinput" Width="45%" OnTextChanged="setTextBoxVisiable">
                        </asp:DropDownList>
                        <asp:TextBox runat="server" ID="txt_NUMTWO" Text='<%#DataBinder.Eval(Container.DataItem,"NUMTWO")%>' CssClass="dfinput"
                            Width="45%">
                        </asp:TextBox>
                    </td>
                    <td style="width:20%">
                        <asp:DropDownList ID="ddl_NUMTHREE" runat="server" AutoPostBack="true" CssClass="dfinput" Width="45%" OnTextChanged="setTextBoxVisiable">
                        </asp:DropDownList>
                        <asp:TextBox runat="server" ID="txt_NUMTHREE" Text='<%#DataBinder.Eval(Container.DataItem,"NUMTHREE")%>' CssClass="dfinput"
                            Width="45%">
                        </asp:TextBox>
                    </td>
                    <td style="width:20%">
                        <asp:DropDownList ID="ddl_NUMFOUR" runat="server" AutoPostBack="true" CssClass="dfinput" Width="45%" OnTextChanged="setTextBoxVisiable">
                        </asp:DropDownList>
                        <asp:TextBox runat="server" ID="txt_NUMFOUR" Text='<%#DataBinder.Eval(Container.DataItem,"NUMFOUR")%>' CssClass="dfinput"
                            Width="45%">
                        </asp:TextBox>
                    </td>
                    <td style="display: none;">
                        <asp:TextBox runat="server" ID="txt_SORT" Text='<%#DataBinder.Eval(Container.DataItem,"SORT")%>'> CssClass="dfinput"
                        </asp:TextBox>
                    </td>
                    <td align="center">
                        <asp:LinkButton ID="idEdit" runat="server" CommandArgument='<%#Eval("Id") %>' CommandName="ibEdit"><img src="../../../images/leftico03.png" title="修改该条信息" /></asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody></table>
            </FooterTemplate>
        </asp:Repeater>
        <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
            runat="server" Width="100%" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页"
            NextPageText="下一页" PrevPageText="上一页" ShowCustomInfoSection="left" ShowInputBox="Never"
            CustomInfoTextAlign="Left" LayoutType="Table" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
        <asp:HiddenField ID="hdf_Id" runat="server" />
    </div>
    <script type="text/javascript">
        $('.tablelist tbody tr:odd').addClass('odd');
    </script>
    </form>
</body>
</html>
